const Router = require('koa-router')

const menuRouter = new Router()

menuRouter.use(function(cxt, next) {
	console.log('mmmmmmmmmmmmmmmmmmmmmmm')
	next()
})

menuRouter.get('/t2', function(cxt) {
	console.log('xxxxxxxxxxxxxxxx')

	return cxt.body = JSON.stringify({a: 'xxxxxx'})
})

module.exports = menuRouter